package com.momoc.mrpc.util;

import java.util.concurrent.CountDownLatch;

/**
 * @author momoc
 * @version 1.0
 * @className ServerInitUtil
 * @description
 * @date 2022/7/26 11:23 上午
 */
public class ServerInitUtil extends CountDownLatch {

    /**
     * Constructs a {@code CountDownLatch} initialized with the given count.
     *
     * @param count the number of times {@link #countDown} must be invoked
     *              before threads can pass through {@link #await}
     * @throws IllegalArgumentException if {@code count} is negative
     */
    public ServerInitUtil(int count) {
        super(count);
    }

    //服务器端口
    String serverPort;

    public String getServerPort() {
        return serverPort;
    }

    public void setServerPort(String serverPort) {
        this.serverPort = serverPort;
    }
}
